// 准备所有state数据
import { createStore, applyMiddleware } from 'redux'
import reducer from './reducer'
import thunk from 'redux-thunk'
// import {createAc1, createAc2, createAc3} from './actions'
const state = {
  num1: 10,
  num2: 20,
  num3: 30
}
// (reducer, state初始值)
const store = createStore(reducer, state, applyMiddleware(thunk))
export default store